OnePageExpress\Companion D

Total Complexity 174
Dependencies 7
Dependents 12
Total lines 1,046
Lines of code 818
Logical lines of code 377
Comment lines 19
Methods 52
Properties 11

Methods 52

Method Rating Maintainability Complexity Lines of code
getThemeMod()
A
44 12 47
applyOnPrimaryLanguage()
A
48 12 32
sanitizeShortcodeQuery()
A
48 12 32
isFrontPage()
A
54 10 18
requireCPData()
A
43 7 50
openPageInCustomizer()
A
48 8 31
addAdminScripts()
A
41 3 99
setKirkiOutputFields()
S
51 7 25
translateArgs()
S
57 7 16
isMaintainable()
S
58 7 14
gutenbergEditInCustomizerButton()
S
44 3 61
shortcodeRefresh()
S
56 6 16
__construct()
S
52 5 24
getTreeValueAt()
S
59 5 14
__createFrontPage()
S
46 3 42
getCurrentPageId()
S
62 5 11
getCustomizerData()
S
59 4 15
addGoogleFonts()
S
57 3 17
get_page_link()
S
58 3 16
checkIfCompatibleChildTheme()
S
65 4 9
addEditInCustomizerPageButtons()
S
61 3 12
getPageByTitle()
S
56 2 19
rootURL()
S
58 2 15
createFrontPage()
S
68 3 7
getFrontPage()
S
60 2 13
filterDefault()
S
61 2 12
initCompanion()
S
55 1 18
registerActivationHooks()
S
61 1 15
getThemeSlug()
S
69 2 7
prefixedMod()
S
71 2 5
filterArrayDefaults()
S
70 2 6
isProtectedMeta()
S
64 2 10
restoreFrontPage()
S
70 2 6
addEditInCustomizer()
S
59 1 15
loadJSON()
S
68 2 7
checkNotifications()
S
66 2 9
isActiveThemeSupported()
S
69 2 6
echoMod()
S
78 1 3
echoURLMod()
S
71 1 5
dataURL()
S
79 1 3
customizer()
S
82 1 3
load()
S
79 1 3
instance()
S
80 1 3
assetsRootPath()
S
80 1 3
assetsRootURL()
S
80 1 3
themeDataURL()
S
79 1 3
themeDataPath()
S
79 1 3
rootPath()
S
80 1 3
loadMaintainablePageAssets()
S
79 1 3
isMultipage()
S
79 1 3
getInstanceData()
S
80 1 3
loadJSONFile()
S
80 1 3